home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 52 / Amiga Format AFCD52 (Issue 136, May 2000).iso / -serious- / programming / c / stormamiga_lib-v45_00d / include / math.h < prev    next >
C/C++ Source or Header  |  2000-02-28  |  975b  |  56 lines

  1. #ifndef _INCLUDE_MATH_H
  2. #define _INCLUDE_MATH_H
  3.  
  4. /*
  5. **  $VER: math.h 1.2 (7.2.97)
  6. **  StormC Release 3.0
  7. **
  8. **  '(C) Copyright 1995/96/97 Haage & Partner Computer GmbH'
  9. **       All Rights Reserved
  10. */
  11.  
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15.  
  16. #ifndef PI
  17. #define PI 3.14159265358979323846
  18. #endif
  19.  
  20. double sin(double);
  21. double cos(double);
  22. double tan(double);
  23. double asin(double);
  24. double acos(double);
  25. double atan(double);
  26. double atan2(double, double);
  27. double sinh(double);
  28. double cosh(double);
  29. double tanh(double);
  30. double exp(double);
  31. double log(double);
  32. double log10(double);
  33. double pow(double,double);
  34. double sqrt(double);
  35. double ceil(double);
  36. double floor(double);
  37. double fabs(double);
  38. double ldexp(double,int);
  39. double frexp(double,int *);
  40. double modf(double,double *);
  41. double fmod(double,double);
  42.  
  43. #ifdef __cplusplus
  44. }
  45. #endif
  46.  
  47. /*----- support for stormamiga.lib -----*/
  48.  
  49. #ifdef STORMAMIGA
  50.   #ifndef  MATH_STORMAMIGA_H
  51.     #include <math_stormamiga.h>
  52.   #endif
  53. #endif
  54.  
  55. #endif
  56.